package cn.sh.yhk.workflow.handle;

import org.flowable.engine.delegate.TaskListener;
import org.flowable.task.service.delegate.DelegateTask;

public class BossTaskHandler implements TaskListener {

    @Override
    public void notify(DelegateTask delegateTask) {
        System.out.println("----老板开始");
        delegateTask.setAssignee("老板");
        System.out.println("----老板结束");
    }
}
